package capimClientP;

import java.net.InetAddress;

import capimServer.ReceivePackets;

public class MessageInterface {
	// SendPackets transport = new SendPackets();

	public void sendLogin(String userName, String password){
		// Adjust message for specified format
		String Message = new String("1:1:"+userName+":"+password+":");
		// Send to tansport class
		Cap_in.sendToNetwork.sendMessage(Message);
	}
	
	public void retvList(String userName, String password){
		// Adjust message for specified format
		String Message = new String("2:1:"+userName+":"+password);
		// Send to tansport class
		Cap_in.sendToNetwork.sendMessage(Message);
	}
	
}
